const Led = Vue.defineComponent({
	props:{
		value:Number
	},
	data() {
		return {
			number: [ //0-99
				[1, 1, 1, 1, 1, 1, 0],
				[0, 1, 1, 0, 0, 0, 0],
				[1, 1, 0, 1, 1, 0, 1],
				[1, 1, 1, 1, 0, 0, 1],
				[0, 1, 1, 0, 0, 1, 1],
				[1, 0, 1, 1, 0, 1, 1],
				[1, 0, 1, 1, 1, 1, 1],
				[1, 1, 1, 0, 0, 0, 0],
				[1, 1, 1, 1, 1, 1, 1],
				[1, 1, 1, 1, 0, 1, 1],
			]
		}
	},
	template: `
		<div class="digit">
			<div v-for="i in number[value]" :class="i ? 'segment on' : 'segment'"></div>
		</div>
	`
})